package com.ktwlsoft.archivemanage.payload.unitArchive;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.time.Year;
import java.util.Date;
import java.util.List;

@ApiModel("室藏档案管理")
@Getter
@Setter
public class UnitArchiveManageAddRequest {

    @ApiModelProperty("档案类型列表")
    private List<UnitArchivesAddRequest> archiveTypesList;

    @ApiModelProperty("立档单位id")
    @NotNull
    private Long unitId;

    @ApiModelProperty("立档单位名称")
    @NotNull
    private String unitName;

    @ApiModelProperty("选择年度")
    @NotNull
    private Year writeDate;

    @ApiModelProperty("填表人")
    @NotNull
    private String writter;

    @ApiModelProperty("填表人id")
    @NotNull
    private Long writterId;
}
